<?php
include APPPATH . 'views/cms/inc/01_head.php';
include APPPATH . 'views/cms/inc/05_top.php';
?>
<!-- Content container -->
<div id="container">
    <?php include APPPATH . 'views/cms/inc/04_slidebar.php'; ?>
    <script type="text/javascript" src="/libraries/jqwidgets32/jqx-all.js"></script>
    <link href='/libraries/jqwidgets32/styles/jqx.base.css' rel='stylesheet' type='text/css'>
    <link href='/libraries/jqwidgets32/styles/jqx.classic.css' rel='stylesheet' type='text/css'>
    <script type="text/javascript" src="/libraries/cms/cp/cp.linkchoose.js"></script>
    <script type="text/javascript" src="/libraries/cms/cp/cp.data.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            _CONFIG.TYPE="<?php echo $type ?>";
            _CP.onInit();
        });
    </script>

    <!-- Content -->
    <div id="content">

        <!-- Content wrapper -->
        <div class="wrapper">

            <!-- Breadcrumbs line -->
            <div class="crumbs">
                <ul id="breadcrumbs" class="breadcrumb"> 
                    <li><a href="/cms">CMS</a></li>
                    <li ><a href="/cms/cp" title="">Content Provider</a></li>
                    <li class="active"><a href="#" title="">Data</a></li>
                </ul>

                <ul class="alt-buttons">
                    <li><a href="#" title=""><i class="icon-signal"></i><span>Stats</span></a></li>
                    <li><a href="#" title=""><i class="icon-comments"></i><span>Messages</span></a></li>
                    <li class="dropdown"><a href="/cms/ho" title="" ><i class="icon-tasks"></i><span>Tasks</span> <strong>(+16)</strong></a>
                        
                    </li>
                </ul>
            </div>
            <!-- /breadcrumbs line -->

            <br/>
            <h5 class="widget-name">
                <i class=" ico-th-large"></i>Data
            </h5>
            <div class="widget" id="viewport">
<!--                <div class="navbar">
                    <div class="navbar-inner" style="line-height: 16px;padding: 8px">
                        <i class=" ico-th-large"></i><b> Projects</b>
                    </div>
                </div>-->

                <div class="table-overflow" style="border-top:1px solid #ccc">
                    <div style="padding: 4px 4px 0px 4px;margin-bottom: -1px;background: #ebebeb">
                        <ul class="nav nav-tabs">
                            <li class="active"><a href="#tab_1" data-toggle="tab" onclick="_CP.onChangeSource('');">ALL</a></li>
                            <li><a href="#tab_1" data-toggle="tab" onclick="_CP.onChangeSource('SLIDER HOMPAGE');">SLIDER HOMPAGE</a></li>
                            
                        </ul>
                    </div>
                    <div class="tab-content" style="padding:0 0px 0 0;border:0;display: none">
                        <div class="tab-pane active" id="tab_1"></div>
                    </div>
                    <div style="border-top:1px solid #d5d5d5;padding: 4px 8px">
                        <a href="#" class="base_icons" title="Thêm mới" onclick="_CP.onAddItem();">
                            <i class="ico-plus"></i>
                        </a>
                        <a href="#" class="base_icons" title="Tải lại" onclick="_CP.onRefresh();"><img src="/libraries/images/16/view_refresh.png"></a>
                    </div>
                    
                    <div id="jqx_grid_view" style="border-width: 1px 0 0 0"></div>
                </div>
            </div>
            <!-- /default datatable -->
            <div id="_edit_panel_insite" class="widget">
                <div class="base_loading" style="display: none;height: 60px"></div>
            </div>
            <div id="dialog-edit-panel" style="display: none">
                <div class="base-dialog-modal" style="-height: 240px;width: 320px">
                    <div class="base_loading" style="display: block;height: 60px"></div>
                </div>
            </div>
        </div>
        <!-- /content wrapper -->

    </div>
    <!-- /content -->

</div>
<!-- /content container -->
<?php include APPPATH . 'views/cms/inc/02_foot.php'; ?>


